import { createPinia } from "pinia";
import persist from "pinia-plugin-persistedstate";
// 创建实例
const pinia = createPinia();
// 注册pinia插件
pinia.use(persist);
// 导出pinia实例
export default pinia;